package com.kevin.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kevin.service.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * sysrolemenu 实体类
 * @author makejava
 * @date 2023-04-06
 */
@TableName(value = "sys_role_menu")
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class SysRoleMenu extends BaseEntity {

    /** 角色ID */
    @ApiModelProperty(value = "角色ID")
    @TableField("role_id")
    private Long roleId;

    /** 菜单ID */
    @ApiModelProperty(value = "菜单ID")
    @TableField("menu_id")
    private Long menuId;
}

